home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d22
/
chmod.arc
/
CHMOD.DOC
< prev
next >
Wrap
Text File
|
1986-03-04
|
768b
|
25 lines
The CHMOD command allows the user to change the attribute bytes
associated with a file on the disk. The ones that you can change are:
n - normal file (what most of them are)
r - READ-ONLY (list on the directory, but can not be deleted
unless change it back to NORMAL)
h - HIDDEN (won't list on a DIR command - you must remember
that it is there and change it back to NORMAL to
manipulate it)
a - set the ARCHIVE bit
The format of the command is
chmod filename attribute
Example
chmod command.com r ; Prevent the command file from being
deleted
chmod command.com na ; reset back to NORMAL and set the
ARCHIVE bit
chmod private.txt h ; HIDE my file so no one can see it